ShortPixel\Controller\AdminController S

Total Complexity 38
Dependencies 7
Dependents 1
Total lines 280
Lines of code 174
Logical lines of code 90
Comment lines 46
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
toolbar_shortpixel_processing()
A
43 6 49
processQueueHook()
S
49 6 34
handleImageUploadHook()
S
54 5 22
addMimes()
S
60 5 14
onDeleteAttachment()
S
58 3 16
handlePng2JpgHook()
S
68 3 7
getInstance()
S
73 2 5
loadCronCompat()
S
71 2 6
handleReplaceHook()
S
66 2 8
__construct()
S
91 1 2
preventImageHook()
S
80 1 3
handleReplaceEnqueue()
S
80 1 3
generatePluginLinks()
S
73 1 5